#define MY_LABEL 0x20


.global ldr_test
ldr_test:
	mov x1, 0x8000000
	mov x3, 16

	ldr x0, [x1]  /*[] 取值*/
	ldr x2, [x1, #8]
	ldr x4, [x1, x3] /* 0x8000000 + 16 偏移指令 */
	ldr x5, [x1, x3, lsl #3]

	mov x2, 0x8000000
	ldr x6, =0x1234abcd
	str x6, [x2, #8]!

	mov x2, 0x18000000
	ldr x6, =0x1234abcd
	str x6, [x2],#8

	/*读标签的值*/
	ldr x6, MY_LABEL
	ldr x7, =MY_LABEL


	ret